package com.tin.exception;

/**
 * @author liming_oicq@163.com
 * @date 2018-10-13 01:53
 */
public class ServiceRuntimeException extends RuntimeException{

    private String errorCode;
    private String errorMsg;

    public ServiceRuntimeException() {

    }

    public ServiceRuntimeException(String errorCode, String errorMsg) {
        this.errorCode = errorCode;
        this.errorMsg = errorMsg;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }
}
